lib_LTLIBRARIES = libdbase.la
libdbase_la_SOURCES = dbase.c utils/xmm.c 
libdbase_la_CPPFLAGS = -I utils -D_FILE_OFFSET_BITS=64 -Wall
libdbase_la_LDFLAGS = -lz -lm
include_HEADERS = dbase.h

#automake 
sbin_PROGRAMS = hichunkd 
hichunkd_SOURCES = hichunkd.c xdbase.h xdbase.c http.c http.h iniparser.c iniparser.h \
	base64chunkdhtml.h utils/mmtrie.h utils/mmtrie.c utils/db.c utils/db.h utils/logger.h \
	utils/mutex.h utils/trie.h utils/trie.c utils/stime.h utils/stime.c \
	utils/base64.h utils/base64.c utils/iqueue.h utils/iqueue.c utils/xmm.h utils/xmm.c
hichunkd_CPPFLAGS = -I utils/ -D_FILE_OFFSET_BITS=64 -Wall
hichunkd_LDFLAGS = -lz -lsbase

#xdbmasterd_SOURCES = xdbmasterd.c http.c http.h iniparser.c iniparser.h base64dbasedhtml.h \
#	utils/mmtrie.h utils/mmtrie.c utils/db.c utils/db.h utils/logger.h utils/mutex.h \
#	utils/trie.h utils/trie.c utils/stime.h utils/stime.c utils/base64.h utils/base64.c \
#	utils/iqueue.h utils/iqueue.c utils/xmm.h utils/xmm.c
#xdbmasterd_CPPFLAGS = -I utils/ -D_FILE_OFFSET_BITS=64 -Wall
#xdbmasterd_LDFLAGS = -lz -lsbase
